<extend name="Index:index" />
<block name="nav1">
  	<ul class="breadcrumb">
        <li>
            <i class="icon-home home-icon"></i>
            <a href="#">Admin</a>
        </li>
        <li class="active">用户信息管理</li>
   	</ul><!-- .breadcrumb -->
</block>

<block name="nav2">
    <h1>
        用户信息管理
        <small>
            <i class="icon-double-angle-right"></i>
            	用户信息
        </small>
    </h1>


</block>

	  <block name="main">
        <div class="row">
            <div class="col-xs-12">
                <table class="table u_list">
                    <thead>
                        <tr>
                            <th>用户头像</th>
                            <th>用户名</th>
                            <th>联系方式</th>
                            <th>电子邮箱</th>
                            <th>性别</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                    	<volist name="list" id="v">
                            <tr>
                                <td>
								<?php if(empty($v['t_img'])): ?>
									<img src="__PUBLIC__/img/1.png">
								<?php else: ?>
									<img src="__PUBLIC__/<{$v.t_img}>">
								<?php endif ?>
                                </td>
                                <td><{$v.user}></td>
                                <td><{$v.tel}></td>
                                <td><{$v.email}></td>
                                <td><if condition="$v.sex eq '1'">男<else />女</if></td>
                                <td>
                                    <a href="" class="btn btn-danger btn-sm a">浏览记录</a>
                                    <a href="<{:U('Center/collect',array('id'=>$v['id']))}>" class="btn btn-primary btn-sm a">收藏记录</a>
                                    <a href="" class="btn btn-info btn-sm a">消息推送</a>
                                </td>
                            </tr>
 						</volist>
                    </tbody>

                </table>
            </div>
        </div>
    </block>


<!--     <{$v.id}>
<{$v.name}>
<if condition="$v.sex eq '0'">女<else />男</if>
<{$v.tel}>
<{$v.email}> -->